Skip to content

Conversation

mfalken
Copy link
Member

@mfalken mfalken commented Jun 19, 2018

The Activate algorithm's final step was to run Update Worker State
to make the worker activated. However Update Worker State
just queues a task to do so. So the task would run after
skipWaiting() resolved its promise, which wasn't the intent of
the spec.

Fixes #1187.


Preview | Diff

The Activate algorithm's final step was to run Update Worker State
to make the worker `activated`. However Update Worker State
just queues a task to do so. So the task would run after
skipWaiting() resolved its promise, which wasn't the intent of
the spec.

Fixes w3c#1187.
@mfalken
Copy link
Member Author

mfalken commented Jun 19, 2018

@jungkees @wanderview @jakearchibald please take a look

@mfalken
Copy link
Member Author

mfalken commented Jun 19, 2018

WPT change at web-platform-tests/wpt#11566

Base automatically changed from master to main February 4, 2021 19:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

skipWaiting() promise should resolve after promotion to .active
1 participant